netsuite-js

CustomerSearchRow

declaration
CustomerSearchRow ->CustomerSearchRow

var CustomerSearchRow = module.exports = function CustomerSearchRow() {
  BaseObject.call(this);

basic

property
this.basic

@member {CustomerSearchRowBasic}

this.basic = undefined;

  // TODO: other fields
};

util.inherits(CustomerSearchRow, BaseObject);

getAttributes

method
CustomerSearchRow.prototype.getAttributes()

@override

CustomerSearchRow.prototype.getAttributes = function() {
  var attrs = {
    'xsi:type': 'listRel:CustomerSearchRow'
  };

  return attrs;
};

getXml

method
CustomerSearchRow.prototype.getXml()

@override

CustomerSearchRow.prototype.getXml = function() {
  var xml = [];

  if (this.basic) {
    xml.push('<listRel:basic>');
    xml.push(this.basic.getXml());
    xml.push('</listRel:basic>');
  }

  return xml.join('');
};